package com.yilin.tms.gps.service;



import com.yilin.tms.core.entity.gps.Location;
import com.yilin.tms.core.entity.gps.VehicleGps;
import com.yilin.tms.core.entity.order.goods.GoodsOrder;
import com.yilin.tms.core.entity.order.transit.TransitOrder;
import com.yilin.tms.core.entity.truck.TruckVehicle;
import com.yilin.tms.core.entity.user.account.Account;

import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.SignatureException;
import java.security.spec.InvalidKeySpecException;
import java.util.Date;
import java.util.List;

public  interface _IGpsHybService {
    // 配置围栏（业务传入运单）
    String configureTreasure(Account truckUser, TruckVehicle truckVehicle, GoodsOrder goodsBasic, TransitOrder transitBasic) ;

    //终止围栏

    String stopTreasure(String transportNo);

    //获取轨迹（通过运单号）
    List<Location> getTack(String transportNo, String vehicleNo, Date startTime, Date endTime) ;

    //获取设备信息（通过设备号）

    //获取活跃设备列表
    String activeDeviceList();

    VehicleGps getActiveInfo(String device, String vehicleNumber) ;

    //获取围栏详情

    String getTreasureInfo(String transportNo);

    //获取运单列表
    String getTransitList(String transportNo) throws InvalidKeySpecException, NoSuchAlgorithmException, InvalidKeyException, SignatureException;
}
